package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Talentpool;

import java.util.List;

@Mapper
public interface TalentpoolMapper extends BaseMapper<Talentpool> {
    List<Talentpool> searchTalents(@Param("status") String status, @Param("keyword") String keyword);

    List<Talentpool> searchTalentsAsc(@Param("status") String status, @Param("keyword") String keyword);

    List<Talentpool> searchTalentsDesc(@Param("status") String status, @Param("keyword") String keyword);

    List<Talentpool> findTalentWithResumeByResumeId(@Param("talentResumeId") String talentResumeId);
}